home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nautilus 1994 December
/
Nautilus CD Magazine Volume 4-12 December 1994 Windows Edition.mdf
/
compware
/
drivers
/
ati
/
vga
/
install.bat
next >
Wrap
DOS Batch File
|
1992-08-21
|
5KB
|
108 lines
echo off
cls
if ()==(%1) goto NO_ARG
if not exist %1\SYSTEM\SETUP.INF goto BADDIR
goto DO_IT
:NO_ARG
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo
echo This batch file needs to know where your Windows
echo directory is located in order to properly install
echo the drivers.
echo
echo ┌┬────────────────────────────────────┬┐
echo ││ Usage: INSTALL [Windows Directory] ││
echo └┴────────────────────────────────────┴┘
echo Example: INSTALL C:\WINDOWS
goto DONE
:BADDIR
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo
echo ERROR: INVALID PATH "%1"
echo
echo The path you specified in either incorrect or does
echo not exist. Please check the path to your Windows
echo directory and try again. If you continue to have
echo difficulty, please call ATI Customer Support for
echo assistance.
echo
echo ┌┬────────────────────────────────────┬┐
echo ││ Usage: INSTALL [Windows Directory] ││
echo └┴────────────────────────────────────┴┘
echo Example: INSTALL C:\WINDOWS
goto DONE
:DO_IT
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo
echo This batch file will conveniently extract
echo the VGA Wonder XL24 Windows 3.1 drivers
echo to your Windows system directory.
echo ┌─────────────────────────────────────────┐
echo │ If you are prompted to overwrite a file │
echo │ press Y for YES │
echo └─────────────────────────────────────────┘
echo
echo Press any key to continue the installation
echo or CONTROL-C to abort.
echo
pause >nul
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo
echo Decompressing . . .
w31xl24 /e%1\SYSTEM
if errorlevel == 0 goto OK
goto ERROR
:OK
echo
pause
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo ────────────────────
echo ╒══════════════════════════╕
echo │ Installation successful! │
echo ╘══════════════════════════╛
echo
echo The first step of the Windows 3.1 drivers is now complete.
echo The next step is to tell Windows to use these drivers.
echo Please read the README.TXT file for further instructions.
echo README.TXT is located in your %1\SYSTEM directory.
goto DONE
:ERROR
cls
echo ┌─────────────────────────────────────────┐
echo │** VGA Wonder XL24 Windows 3.1 Drivers **│
echo └─────────────────────────────────────────┘
echo ────────────────────
echo ╒═════════════════════╕
echo │ Installation Failed │
echo ╘═════════════════════╛
echo
echo An error has been reported decompressing the Windows drivers. This may
echo be due to problems accessing the specified directory, low free disk
echo space, or the archive is corrupt. First, ensure the path you specified
echo is correct. Second, run the DOS CHKDSK utility on your hard drive. If
echo CHKDSK reports errors, correct the errors before continuing. Also, make
echo certain you have at least 3 Meg of free disk space available.
echo
echo If you continue to have problems, you may wish to try manually
echo installing the drivers or contact ATI Customer Support. Manual driver
echo installation instructions are in README.1ST.
:DONE
echo
echo ATI Customer Support (416) 756-0711 9am-5:30pm
echo